<script th:src="@{/layui/layui.js}"></script>
<!--<script th:src="@{/layui/modules/jquery.js}"></script>-->
<!--<script th:src="@{/layui/modules/lay.js}"></script>-->
<!--<script th:src="@{/layui/modules/laydate.js}"></script>-->
<!--<script th:src="@{/layui/modules/demo.js}"></script>-->
<!--<script th:src="@{/layui/modules/element.js}"></script>-->
<!--<script th:src="@{/layui/modules/form.js}"></script>-->
<!--<script th:src="@{/layui/modules/laytpl.js}"></script>-->
<!--<script th:src="@{/layui/modules/util.js}"></script>-->
<!--<script th:src="@{/layui/modules/all.js}"></script>-->
<!--<script th:src="@{/layui/modules/carousel.js}"></script>-->
<!--<script th:src="@{/layui/modules/code.js}"></script>-->
<!--<script th:src="@{/layui/modules/colorpicker.js}"></script>-->
<!--<script th:src="@{/layui/modules/dropdown.js}"></script>-->
<!--<script th:src="@{/layui/modules/flow.js}"></script>-->
<!--<script th:src="@{/layui/modules/layedit.js}"></script>-->
<!--<script th:src="@{/layui/modules/layer.js}"></script>-->
<!--<script th:src="@{/layui/modules/laypage.js}"></script>-->
<!--<script th:src="@{/layui/modules/layui.all.js}"></script>-->
<!--<script th:src="@{/layui/modules/mobile.js}"></script>-->
<!--<script th:src="@{/layui/modules/rate.js}"></script>-->
<!--<script th:src="@{/layui/modules/slider.js}"></script>-->
<!--<script th:src="@{/layui/modules/table.js}"></script>-->
<!--<script th:src="@{/layui/modules/transfer.js}"></script>-->
<!--<script th:src="@{/layui/modules/tree.js}"></script>-->
<!--<script th:src="@{/layui/modules/upload.js}"></script>-->
<script th:src="@{/layui/steps/steps.js}"></script>
<script th:src="@{/layui/nprogress/nprogress.js}"></script>
<script th:inline="javascript">
    let $ = layui.$
        , tree = layui.tree
        , form = layui.form
        , table = layui.table
        , laytpl = layui.laytpl
        , element = layui.element
        , steps = layui.steps
        , modes = ['jquery', 'tree', 'form', 'table', 'laytpl', 'element', 'steps']
        , v = '2.0';
    let context = [[@{/}]]
        , serverName = [[${#httpServletRequest.getServerName()}]]
        , serverPort = [[${#httpServletRequest.getServerPort()}]];

    layui.use(modes, function () {
        $ = layui.$;
        tree = layui.tree;
        form = layui.form;
        table = layui.table;
        laytpl = layui.laytpl;
        element = layui.element;
        steps = layui.steps;
    });

    function loadScript(urls, cb) {
        let doc = window.document;
        let head = doc.getElementsByTagName('head')[0]

        let node = doc.createElement('script');
        node.async = true;
        node.charset = 'utf-8';
        node.src = context + urls[0] + '.js?v=' + (v ?? (new Date()).getTime());

        head.appendChild(node);
        if (cb == null) {
            return;
        }
        if (urls.length === 1) {
            node.addEventListener('load', function (e) {
                cb(e);
            }, false);
        } else {
            node.addEventListener('load', function (e) {
                loadScript(urls.splice(1), cb);
            }, false);
        }
    }

</script>





















